
public enum Directions {
	NORTH(0, -1), EAST(1, 0), SOUTH(0, 1), WEST(-1, 0),
	NW(-1,-1), NE(1,-1),  SE(1,1), SW(-1,1),;
    
	int dx, dy;
    
    private Directions(int dx, int dy) {
        this.dx = dx;
        this.dy = dy;
    }
    public int getX() { return dx; }
    public int getY() { return dy; }
}
